package com.ffcs.web.model.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Counselor entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "wechat_counselor")
public class Counselor implements java.io.Serializable {

	// Fields

	private Integer id;
	private String counseName;
	private String counsePwd;
	private String counseTel;
	private Short isReceive;
	private String counseType;
	private Integer counseSuccessCount;
	private Short counseWorkStatus;
	private Short counseStatus;
	private Double receiveTotal;
	private String recommenGrade;
	private Short isFreeAsk;
	private Date lastLoginTime;
	private Date addTime;
	private String serviceCity;
	private String goodDirection;
	private String professional;
	private Double servicePrice15;
	private Double servicePrice40;
	private Short isService15;
	private Short isService40;
	private String personHead;
	private String doctorProve;
	private String proName;

	// Constructors

	/** default constructor */
	public Counselor() {
	}

	/** minimal constructor */
	public Counselor(String counseName, String counsePwd, String counseTel,
			Short isReceive, String counseType, Integer counseSuccessCount,
			Short counseWorkStatus, Short counseStatus, Short isFreeAsk,
			String serviceCity, String proName) {
		this.counseName = counseName;
		this.counsePwd = counsePwd;
		this.counseTel = counseTel;
		this.isReceive = isReceive;
		this.counseType = counseType;
		this.counseSuccessCount = counseSuccessCount;
		this.counseWorkStatus = counseWorkStatus;
		this.counseStatus = counseStatus;
		this.isFreeAsk = isFreeAsk;
		this.serviceCity = serviceCity;
		this.proName = proName;
	}

	/** full constructor */
	public Counselor(String counseName, String counsePwd, String counseTel,
			Short isReceive, String counseType, Integer counseSuccessCount,
			Short counseWorkStatus, Short counseStatus, Double receiveTotal,
			String recommenGrade, Short isFreeAsk, Date lastLoginTime,
			Date addTime, String serviceCity, String goodDirection,
			String professional, Double servicePrice15, Double servicePrice40,
			Short isService15, Short isService40, String personHead,
			String doctorProve, String proName) {
		this.counseName = counseName;
		this.counsePwd = counsePwd;
		this.counseTel = counseTel;
		this.isReceive = isReceive;
		this.counseType = counseType;
		this.counseSuccessCount = counseSuccessCount;
		this.counseWorkStatus = counseWorkStatus;
		this.counseStatus = counseStatus;
		this.receiveTotal = receiveTotal;
		this.recommenGrade = recommenGrade;
		this.isFreeAsk = isFreeAsk;
		this.lastLoginTime = lastLoginTime;
		this.addTime = addTime;
		this.serviceCity = serviceCity;
		this.goodDirection = goodDirection;
		this.professional = professional;
		this.servicePrice15 = servicePrice15;
		this.servicePrice40 = servicePrice40;
		this.isService15 = isService15;
		this.isService40 = isService40;
		this.personHead = personHead;
		this.doctorProve = doctorProve;
		this.proName = proName;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "counseName", nullable = false, length = 100)
	public String getCounseName() {
		return this.counseName;
	}

	public void setCounseName(String counseName) {
		this.counseName = counseName;
	}

	@Column(name = "counsePwd", nullable = false, length = 300)
	public String getCounsePwd() {
		return this.counsePwd;
	}

	public void setCounsePwd(String counsePwd) {
		this.counsePwd = counsePwd;
	}

	@Column(name = "counseTel", nullable = false, length = 20)
	public String getCounseTel() {
		return this.counseTel;
	}

	public void setCounseTel(String counseTel) {
		this.counseTel = counseTel;
	}

	@Column(name = "isReceive", nullable = false)
	public Short getIsReceive() {
		return this.isReceive;
	}

	public void setIsReceive(Short isReceive) {
		this.isReceive = isReceive;
	}

	@Column(name = "counseType", nullable = false, length = 10)
	public String getCounseType() {
		return this.counseType;
	}

	public void setCounseType(String counseType) {
		this.counseType = counseType;
	}

	@Column(name = "counseSuccessCount", nullable = false)
	public Integer getCounseSuccessCount() {
		return this.counseSuccessCount;
	}

	public void setCounseSuccessCount(Integer counseSuccessCount) {
		this.counseSuccessCount = counseSuccessCount;
	}

	@Column(name = "counseWorkStatus", nullable = false)
	public Short getCounseWorkStatus() {
		return this.counseWorkStatus;
	}

	public void setCounseWorkStatus(Short counseWorkStatus) {
		this.counseWorkStatus = counseWorkStatus;
	}

	@Column(name = "counseStatus", nullable = false)
	public Short getCounseStatus() {
		return this.counseStatus;
	}

	public void setCounseStatus(Short counseStatus) {
		this.counseStatus = counseStatus;
	}

	@Column(name = "receiveTotal", precision = 15)
	public Double getReceiveTotal() {
		return this.receiveTotal;
	}

	public void setReceiveTotal(Double receiveTotal) {
		this.receiveTotal = receiveTotal;
	}

	@Column(name = "recommenGrade", length = 10)
	public String getRecommenGrade() {
		return this.recommenGrade;
	}

	public void setRecommenGrade(String recommenGrade) {
		this.recommenGrade = recommenGrade;
	}

	@Column(name = "isFreeAsk", nullable = false)
	public Short getIsFreeAsk() {
		return this.isFreeAsk;
	}

	public void setIsFreeAsk(Short isFreeAsk) {
		this.isFreeAsk = isFreeAsk;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "lastLoginTime", length = 19)
	public Date getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "addTime", length = 19)
	public Date getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	@Column(name = "serviceCity", nullable = false, length = 10)
	public String getServiceCity() {
		return this.serviceCity;
	}

	public void setServiceCity(String serviceCity) {
		this.serviceCity = serviceCity;
	}

	@Column(name = "goodDirection", length = 50)
	public String getGoodDirection() {
		return this.goodDirection;
	}

	public void setGoodDirection(String goodDirection) {
		this.goodDirection = goodDirection;
	}

	@Column(name = "professional", length = 2000)
	public String getProfessional() {
		return this.professional;
	}

	public void setProfessional(String professional) {
		this.professional = professional;
	}

	@Column(name = "servicePrice15", precision = 15)
	public Double getServicePrice15() {
		return this.servicePrice15;
	}

	public void setServicePrice15(Double servicePrice15) {
		this.servicePrice15 = servicePrice15;
	}

	@Column(name = "servicePrice40", precision = 15)
	public Double getServicePrice40() {
		return this.servicePrice40;
	}

	public void setServicePrice40(Double servicePrice40) {
		this.servicePrice40 = servicePrice40;
	}

	@Column(name = "isService15")
	public Short getIsService15() {
		return this.isService15;
	}

	public void setIsService15(Short isService15) {
		this.isService15 = isService15;
	}

	@Column(name = "isService40")
	public Short getIsService40() {
		return this.isService40;
	}

	public void setIsService40(Short isService40) {
		this.isService40 = isService40;
	}

	@Column(name = "personHead", length = 300)
	public String getPersonHead() {
		return this.personHead;
	}

	public void setPersonHead(String personHead) {
		this.personHead = personHead;
	}

	@Column(name = "doctorProve", length = 300)
	public String getDoctorProve() {
		return this.doctorProve;
	}

	public void setDoctorProve(String doctorProve) {
		this.doctorProve = doctorProve;
	}

	@Column(name = "proName", nullable = false, length = 200)
	public String getProName() {
		return this.proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}

}